'use strict';

const Controller = require('egg').Controller;

class UserController extends Controller {
  async info() {
      const ctx = this.ctx;
      ctx.body = {
        name: `hello ${ ctx.params.id }`,
    };
  }
}

module.exports = UserController;